'Declaration Public Overloads Shadows Function Add(Of TKey)( _ ByVal keySelector As Expression(Of Func(Of T,TKey)), _ ByVal keyIsUnque As Boolean _ ) As Index(Of T,TKey)
public new Index<T,TKey> Add<TKey>( Expression<Func<T,TKey>> keySelector, bool keyIsUnque )
Parameters
- keySelector
- Key selector expression of the index, see IndexDefinition<T>.KeySelector.
- keyIsUnque
- true if a unique index must be created.
Type Parameters
- TKey
- The type of the index key.
Return Value
The new index added to the collection of indexes.